
import React,{Component} from "react";
import {Switch,Route} from "react-router-dom"
import Temperature from "./temperature"
import Outin from "./outin"
export default class Life extends Component{
    render(){
        return(
            <div>
                <Switch>
                    <Route path="/main/life/temperature" component={Temperature}/>
                    <Route path="/main/life/outin" component={Outin}/>

                </Switch>
            </div>
        )
    }
}